Optimal. Leaf size=31 \[ -7^p (2-x) \, _2F_1\left (\frac{1}{2},-p;\frac{3}{2};\frac{1}{7} (2-x)^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.011873, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {619, 245} \[ -7^p (2-x) \, _2F_1\left (\frac{1}{2},-p;\frac{3}{2};\frac{1}{7} (2-x)^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 619
Rule 245
Rubi steps
\begin{align*} \int \left (3+4 x-x^2\right )^p \, dx &=-\left (\frac{1}{2} 7^p \operatorname{Subst}\left (\int \left (1-\frac{x^2}{28}\right )^p \, dx,x,4-2 x\right )\right )\\ &=-7^p (2-x) \, _2F_1\left (\frac{1}{2},-p;\frac{3}{2};\frac{1}{7} (2-x)^2\right )\\ \end{align*}
Mathematica [A] time = 0.0065657, size = 26, normalized size = 0.84 \[ 7^p (x-2) \, _2F_1\left (\frac{1}{2},-p;\frac{3}{2};\frac{1}{7} (x-2)^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.927, size = 0, normalized size = 0. \begin{align*} \int \left ( -{x}^{2}+4\,x+3 \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (-x^{2} + 4 \, x + 3\right )}^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (-x^{2} + 4 \, x + 3\right )}^{p}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (- x^{2} + 4 x + 3\right )^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (-x^{2} + 4 \, x + 3\right )}^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]